package com.offcn.service;

import com.offcn.bean.Blog;
import com.offcn.utils.OAResult;
import com.offcn.utils.PageView;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface BlogService {
    PageView<Blog> getAllBlogs(int currentPage, Integer pageSize);

    Blog blogDetailById(int bid);

    OAResult deleteBlog(int bid);

    OAResult saveBlog(Blog blog, HttpSession session);

}
